<html>
<head>
    <title>Google .NET Client API &ndash; AdSenseHost.Sample</title>
</head>
<body>
    <h2>
        Instructions for the Google .NET Client API &ndash; AdSenseHost.Sample
    </h2>
    <h3>
        Browse Online
    </h3>
    <ul>
        <li><a href="http://code.google.com/p/google-api-dotnet-client/source/browse/?repo=samples#hg%2FAdSenseHost.Sample">
            Browse Source</a>, or main file 
            <a href="http://code.google.com/p/google-api-dotnet-client/source/browse/AdSenseHost.Sample/Program.cs?repo=samples">
            Program.cs</a>.</li>
    </ul>
    <h3>
        Checkout Instructions
    </h3>
    <p>
        <b>Prerequisites:</b> Install Visual Studio,
        and <a href="http://mercurial.selenic.com/">Mercurial</a>.
    </p>
    <pre><code>cd <i>[someDirectory]</i> hg clone https://code.google.com/p/google-api-dotnet-client.samples/
        google-api-dotnet-client-samples</code> </pre>
    <h3>
        Set up Project in Visual Studio
    </h3>
    <ul>
        <li>Open the GoogleApisSamples.sln with Visual Studio</li>
        <li>Click on Build &gt; Rebuild Solution</li>
        <li>Execute the .exe in <i>AdSenseHost.Sample\bin\Debug</i></li>
        <li>When prompted insert your client credentials which are generated on the 
            <a href="https://code.google.com/apis/console/">
            Google APIs Console</a> API Access pane. </li>
    </ul>
    <h3>
        Association Sessions
    </h3>
    <p>In order to run the association session calls, set <i>AssociationSessionSample.cs</i> as 
        startup object of the project and rebuild.</p>
</body>
</html>
